package com.itheima.service;

import com.itheima.common.pojo.vo.BusinessReportVO;
import com.itheima.common.pojo.vo.MemberVO;
import com.itheima.common.pojo.vo.OrderReportVO;
import com.itheima.common.pojo.vo.SetmealVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {

    /**
     * 会员统计报表
     * @param begin
     * @param end
     * @return
     */
    MemberVO getMemberReport(LocalDate begin, LocalDate end);

    /**
     *获取套餐预约占比统计数据
     * @return
     */
    SetmealVO getSetmealReport();

    /**
     * 预约到诊数据统计
     * @return
     */
    OrderReportVO getOrderReport();

    /**
     * 获取运营统计数据
     * @return
     */
    BusinessReportVO getBusinessReportData();

    /**
     * 导出运营数据报表
     * @param response
     */
    void exportBusinessReport(HttpServletResponse response);
}
